package com.learn.project2.service.admin.auth;

import com.learn.project2.bean.MarketAdmin;
import com.learn.project2.model.vo.admin.auth.AdminInfoVO;
import com.learn.project2.model.vo.admin.auth.AuthLoginVO;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface AuthService {

    List<String> listRoles(MarketAdmin marketAdmin);

    List<String> listPerms(MarketAdmin marketAdmin);

    AuthLoginVO authLogin(String username, String password, HttpServletRequest request);
}
